
# https://mirrors.tuna.tsinghua.edu.cn/remi/enterprise/remi-release-6.rpm
# https://mirrors.tuna.tsinghua.edu.cn/remi/enterprise/remi-release-7.rpm

# 注: epel-release 是前置软件
rpm -Uvh https://mirrors.tuna.tsinghua.edu.cn/remi/enterprise/remi-release-7.rpm

# 这个里面有最新的redis
# 所有版本的php 


curl -s -o /etc/yum.repos.d/remi.repo https://git.oschina.net/xbazhen/linux-script-init/raw/master/resources/repos/remi/7/remi_tuna.repo
curl -s -o /etc/yum.repos.d/remi-safe.repo https://git.oschina.net/xbazhen/linux-script-init/raw/master/resources/repos/remi/7/remi-safe_tuna.repo


yum makecache
# yum repolist
# remi 默认是不打开的状态
yum --enablerepo=remi provides redis

